package com.ql.gamelogm.entities;

import java.util.Date;

public class Log {//操作记录
    private Date date;
    private String operator;
    private String operation;
    private String ipaddr;

    public Log() {
    }

    public Log(Date date, String operator, String operation, String ipaddr) {
        this.date = date;
        this.operator = operator;
        this.operation = operation;
        this.ipaddr = ipaddr;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getIpaddr() {
        return ipaddr;
    }

    public void setIpaddr(String ipaddr) {
        this.ipaddr = ipaddr;
    }

    @Override
    public String toString() {
        return "log{" +
                "date=" + date +
                ", operator='" + operator + '\'' +
                ", operation='" + operation + '\'' +
                ", ipaddr='" + ipaddr + '\'' +
                '}';
    }
}
